@import 'common'; //banner

.Main{
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9996;
    display: none;
    .login{
        width: 400px;
        height: 500px;
        background: white;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -250px;
        margin-left: -200px;
        transition: all 1.5s linear;
        .change{
            color: white;
            font-size: 20px;
            font-family: "微软雅黑";
            background: black;
            border-radius: 5px;
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
        }
        .Close{
            color: white;
            font-size: 20px;
            font-family: "微软雅黑";
            background: black;
            border-radius: 5px;
            position: absolute;
            cursor: pointer;
            top: 0;
            right: 0;
        }
        h1{
            text-align: center;
            margin-top: 50%;
        }
    }
}

.billboard {
    text-align: center;
    color: #FFF;
    background: center top no-repeat #222;
    background-size: cover;
    .wrapper {
        height: 200px;
        padding-top: 105px;
        position: fixed;
        width: 100%;
        left: 0;
        top: 0;
        display: inline-table;
        .inner {
            width: 100%;
            height: 100%;
            display: table-cell;
            vertical-align: middle;
            h1 {
                font-size: 14px;
                font-family: "微软雅黑";
                margin: 5px auto;
            }
        }
    }
}
#billboard {
    height: 250px;
    width: 100%;
    position: relative;
}
#billboard {
    background-image: url("../images/banner-pic.png");
}
//container
#container {
    position: relative;
    background-color: #f1f1f1;
    padding-top: 50px;
    #notice {
        position: absolute;
        height: 50px;
        width: 100%;
        overflow: hidden;
        left: 0;
        top: 0;
        .content {
            max-width: 1260px;
            margin: 0 auto;
            .wrapper {
                height: 24px;
                margin: 13px auto;
                line-height: 24px;
                overflow: hidden;
                ul {
                    .icon {
                        font-size: 16px;
                        color: #999;
                        display: inline-block;
                        margin-right: 15px;
                    }
                    li {
                        display: inline-block;
                        margin-right: 4%;
                        a {
                            font-size: 12px;
                            color: #888;
                            transition: all 0.8s;
                            &:hover {
                                color: #00c3b6;
                            }
                            span {
                                margin-right: 5px;
                            }
                        }
                    }
                }
            }
        }
    }
    //
    #aim {
        background-color: #FFF;
        margin: auto -10px;
        height: auto;
        padding: 30px 0;
        overflow: hidden;
        .content {
            width: 1260px;
            max-width: 1260px;
            margin: 0 auto;
            .main {
                position: relative;
                width: 620px;
                float: left;
                overflow: hidden;
                &:hover .prev {
                    left: 0;
                }
                &:hover .next {
                    right: 0;
                }
                .prev {
                    text-align: center;
                    position: absolute;
                    top: 50%;
                    left: -32px;
                    z-index: 99;
                    display: block;
                    width: 32px;
                    margin-top: -25px;
                    height: 50px;
                    line-height: 50px;
                    font-size: 16px;
                    border-radius: 0 2px 2px 0;
                    transition: all 0.8s;
                    background-color: rgba(0,0,0,0.8);
                    color: #FFF;
                    &:hover {
                        background: #00c3b6;
                    }
                }
                .next {
                    text-align: center;
                    position: absolute;
                    top: 50%;
                    right: -32px;
                    z-index: 99;
                    display: block;
                    width: 32px;
                    margin-top: -25px;
                    height: 50px;
                    line-height: 50px;
                    font-size: 16px;
                    background-color: rgba(0,0,0,0.8);
                    color: #FFF;
                    transition: all 0.8s;
                    &:hover {
                        background: #00c3b6;
                    }
                }
                .wraper {
                    width: 100%;
                    margin: auto;
                    overflow: hidden;
                    position: relative;
                    .wraper-inner {
                        width: 800%;
                        img {
                            width: 12.5%;
                        }
                    }
                    .list {
                        text-align: center;
                        padding: 0;
                        list-style: none;
                        position: absolute;
                        bottom: 0;
                        left: 50%;
                        margin-left: -41px;
                        z-index: 4;
                        li {
                            height: 10px;
                            width: 10px;
                            border-radius: 100%;
                            cursor: pointer;
                            background: rgba(0,0,0,.6);
                            display: inline-block;
                        }
                    }
                }
            }
            .aside {
                width: 640px;
                float: right;
                .inner {
                    margin-left: 15px;
                    width: 300px;
                    height: 250px;
                    float: left;
                    background-color: #FFF;
                    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
                    position: relative;
                    img {
                        width: 300px;
                        height: 250px;
                    }
                }
                .inner2 {
                    margin-left: 15px;
                    width: 300px;
                    height: 250px;
                    float: left;
                    background-color: #FFF;
                    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
                    position: relative;
                    img {
                        width: 300px;
                        height: 250px;
                    }
                }
            }
        }
    }
    //cool
    #cool {
        margin: 30px auto;
        .content {
            width: 1260px;
            max-width: 1260px;
            margin: auto;
            .drid-ul {
                margin: auto -10px;
                height: auto;
                text-align: justify;
                overflow: hidden;
                .grid-wraper {
                    float: left;
                    width: 640px;
                    li {
                        float: left;
                        width: 320px;
                        margin-bottom: 30px;
                        position: relative;
                        .item {
                            margin: auto 10px;
                            background-color: #FFF;
                            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
                            overflow: hidden;
                            position: relative;
                            border: 10px solid #FFF;
                            border-bottom: 0 none;
                            .thumb {
                                line-height: 1;
                                text-align: center;
                                width: 280px;
                                height: 180px;
                                overflow: hidden;
                                transition: 0.15s all linear;
                                color: #FFF;
                                box-shadow: 0 0 2px rgba(255, 255, 255, 0.15);
                            }
                            .meta {
                                padding: 0 5px;
                                .title {
                                    a {
                                        color: #444;
                                        font-size: 12px;
                                        display: block;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                        white-space: nowrap;
                                        transition: all 1s;
                                    }
                                }
                                .extra {
                                    position: absolute;
                                    left: 0;
                                    top: 0;
                                    height: auto;
                                    overflow: hidden;
                                    width: 100%;
                                    background-color: #222;
                                    color: #FFF;
                                    margin: 0;
                                    padding: 8px 10px;
                                    box-sizing: border-box;
                                    transform: translateY(-50px);
                                    transition: all 0.3s;
                                    i {
                                        margin-right: 4px;
                                    }
                                    a {
                                        color: rgba(255, 255, 255, 0.9);
                                        transition: all 0.3s;
                                        &:hover {
                                            color: #00C3B6;
                                            text-decoration: none;
                                        }
                                    }
                                    span {
                                        float: right;
                                        margin-left: 8px;
                                        i {
                                            margin-right: 0;
                                            margin-left: 4px;
                                        }
                                    }
                                }
                            }
                            .data {
                                border-top: 1px solid #f2f2f2;
                                padding: 10px 5px;
                                color: #999;
                                span {
                                    float: right;
                                    margin-left: 10px;
                                    i {
                                        margin-right: 4px;
                                    }
                                }
                                a {
                                    color: #999;
                                    &:hover {
                                        color: #00C3B6;
                                        text-decoration: none;
                                    }
                                }
                            }
                        }
                        &:hover .meta .title .meta-title-item {
                            text-decoration: none;
                            color: #00C3B6;
                        }
                        &:hover .thumb img {
                            margin-top: 20px;
                        }
                        &:hover .meta .extra {
                            top: 50px;
                        }
                    }
                }
            }
            #cncw-page {
                text-align: center;
                margin-top: 5px;
                height: 40px;
                li {
                    list-style: none;
                    display: inline-block;
                    background: white;
                    padding: 8px 13px;
                    border-radius: 5px;
                    input {
                        border: 0;
                    }
                    &:hover:not(.up-page):not(.active-no) {
                        background: #00C3B6;
                        border-color: 1px solid seagreen;
                        color: white;
                    }
                }
                .box-shadow {
                    box-shadow: 1px 1px 1px 1px #E3E3E3;
                }
                li:first-child {
                    margin-left: 0;
                }
                .actived {
                    background: #00C3B6;
                    color: white;
                }
                .active-no {
                    border: 0;
                }
            }
        }
    }
    //love
    #love {
        background: url("../images/love-bg.jpg") center bottom no-repeat fixed;
        background-size: 100%;
        padding: 5px 0 20px;
        .content {
            max-width: 1260px;
            margin: auto;
            ul {
                margin: auto;
                height: auto;
                overflow: hidden;
                .love-wraper {
                    float: left;
                    width: 50%;
                    li {
                        position: relative;
                        background-color: rgba(255,255,255,0.25);
                        float: left;
                        width: 50%;
                        max-height: 262px;
                        overflow: hidden;
                        .thumb {
                            position: relative;
                            line-height: 1;
                            text-align: center;
                            overflow: hidden;
                            transition: 0.15s all linear;
                            color: #FFF;
                            box-shadow: 0 0 2px rgba(255,255,255,0.15);
                            padding-top: 83.2%;
                            a {
                                position: absolute;
                                left: 0;
                                top: 0;
                                width: 100%;
                                height: 100%;
                                img {
                                    width: 100%;
                                    height: 100%;
                                    display: block;
                                }
                            }
                        }
                        .gallery {
                            div {
                                position: absolute;
                                background: #00C3B6;
                                transition: all 0.2s;
                                opacity: 0;
                            }
                            .gallery-ico {
                                top: 50%;
                                left: 50%;
                                height: 40px;
                                width: 40px;
                                margin: -20px 0 0 -20px;
                                transform: scale(2, 2);
                                z-index: 20;
                                i {
                                    text-align: center;
                                    color: #fff;
                                    font-size: 40px;
                                    line-height: 10px;
                                    margin-top: 15px;
                                    transition: all 0.6s;
                                }
                            }
                        }
                        .meta {
                            position: absolute;
                            padding: 10px;
                            width: 100%;
                            box-sizing: border-box;
                            background-color: rgba(0,0,0,0.5);
                            color: #FFF;
                            font-family: "微软雅黑";
                            font-size: 12px;
                            left: 0;
                            bottom: 0;
                            z-index: 30;
                            transform: translateY(60px);
                            transition: all 0.2s cubic-bezier(0.33, 0, 0.2, 1);
                        }
                        .meta {
                            padding: 8px 10px;
                            .title {
                                a {
                                    display: block;
                                    color: #FFF;
                                    height: 18px;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    white-space: nowrap;
                                    margin-bottom: 3px;
                                    &:hover {
                                        text-decoration: none;
                                    }
                                }
                            }
                            .extra {
                                color: rgba(255,255,255,0.65);
                                .time {
                                    float: left;
                                }
                                span {
                                    float: right;
                                    margin-left: 8px;
                                    a {
                                        color: rgba(255,255,255,0.9);
                                        &:hover {
                                            text-decoration: none;
                                        }
                                    }
                                }
                            }
                        }
                        &:hover .meta {
                            bottom: 60px;
                        }
                        &:hover .gallery .gallery-ico i {
                            font-size: 14px;
                            margin-left: 10%;
                            margin-top: 42%;
                        }
                        &:hover .gallery div {
                            opacity: 0.8;
                            top: 0;
                            left: 0;
                            height: 100%;
                            width: 100%;
                        }
                    }
                }
            }
            .feel-go {
                text-align: center;
                a {
                    background: #00c3b6;
                    display: inline-block;
                    font-size: 14px;
                    padding: 8px 25px;
                    border-radius: 20px;
                    color: #FFF;
                    margin: 30px auto;
                    transition: all 0.3s;
                    &:hover {
                        text-decoration: none;
                        background-color: #ea4c89;
                    }
                    i {
                        margin-left: 3px;
                    }
                }
            }
        }
    }
    //user
    #users {
        background: #FFF;
        padding: 40px 0;
        .content {
            max-width: 1260px;
            margin: auto;
            ul {
                height: auto;
                overflow: hidden;
                li {
                    width: 33.333%;
                    float: left;
                    font-family: "微软雅黑";
                    text-align: center;
                    padding: 0 20px;
                    box-sizing: border-box;
                    .title {
                        color: #00c3b6;
                        font-size: 18px;
                        line-height: 1;
                        text-transform: capitalize;
                        margin: 0 0 15px;
                        padding: 0;
                    }
                    p {
                        i {
                            width: 100px;
                            height: 100px;
                            font-size: 35px;
                            color: #fff;
                            line-height: 100px;
                            display: inline-block;
                            position: relative;
                            margin-bottom: 20px;
                            transition: all 0.3s ease 0s;
                            border-radius: 50%;
                            background: #00a398;
                        }
                    }
                    h3 {
                        color: #333333;
                        font-size: 12px;
                        margin-bottom: 10px;
                        line-height: 18px;
                    }
                }
            }
        }
    }
    //feature
    #feature {
        height: auto;
        background-color: #FFF;
        overflow: hidden;
        ul {
            li {
                width: 50%;
                float: left;
                margin-bottom: 2px;
                a {
                    background-color: #f1f1f1;
                    display: block;
                    height: 200px;
                    position: relative;
                    border-left: 1px solid #FFF;
                    border-right: 1px solid #FFF;
                    .item {
                        height: 100%;
                        transition: all 0.3s ease-out;
                        background: center no-repeat;
                        background-size: 468px auto;
                        float: none;
                        margin: auto;
                    }
                }
            }
            li:first-child a {
                border-left: 0 none;
            }
            li:nth-child(1) a .item {
                background-image: url("../images/fature2.jpg");
            }
            li:nth-child(2) a .item {
                background-image: url("../images/fature3.jpg");
            }
            li:nth-child(3) a .item {
                background-image: url("../images/fature4.jpg");
            }
            li:nth-child(4) a .item {
                background-image: url("../images/fature4.jpg");
            }
            div {
                width: 50%;
                float: left;
            }
        }
    }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    #container {
        #aim {
            .wraper {
                .content {
                    width: 100%;
                    .main {
                        width: 94%;
                        float: none;
                        margin: auto;
                        .wraper {
                            width: 620px;
                            margin: auto;
                        }
                    }
                }
                .aside {
                    float: none;
                    margin: 20px auto;
                    .inner {
                        margin-left: 8px;
                    }
                    .inner2 {
                        margin-right: 13px;
                    }
                }
            }
        }
        #cool {
            .content {
                width: 100%;
                .drid-ul {
                    .grid-wraper {
                        float: none;
                        margin: auto;
                    }
                }
            }
        }
        #feature {
            ul {
                div {
                    width: 100%;
                    float: none;
                }
            }
        }
    }
}
@media only screen and (max-width: 768px) {
    /*container*/
    #container {
        #aim {
            .wraper {
                .content {
                    width: 100%;
                    .main {
                        width: 97%;
                        float: none;
                        margin: auto;
                        .wraper {
                            width: 100%;
                        }
                    }
                    .aside{
                        display: none;
                    }
                }
                .aside {
                    float: none;
                    margin: 20px auto;
                    .inner {
                        margin-left: 8px;
                    }
                    .inner2 {
                        margin-right: 13px;
                    }
                }
            }
        }
        //cool
        #cool {
            margin-top: 0;
            .content {
                width: 100%;
                .drid-ul {
                    .grid-wraper {
                        width: 100%;
                        float: none;
                        margin: auto;
                        li{
                            float: none;
                            margin:20px auto;
                        }
                    }
                }
            }
        }
        #love {
            background: none;
            .content {
                width: 100%;
                ul {
                    .love-wraper {
                        float: none;
                        width: 100%;
                    }
                }
            }
        }
        #feature {
            ul {
                div {
                    width: 100%;
                    float: none;
                    li {
                        width: 100%;
                        float: none;
                    }
                }
            }
        }
    }
}


@media only screen and (max-width: 500px) {
    /*container*/
    #container {
        #aim {
            .wraper {
                .content {
                    width: 100%;
                    .main {
                        width: 97%;
                        float: none;
                        margin: auto;
                        .wraper {
                            width: 100%;
                        }
                    }
                    .aside{
                        display: none;
                    }
                }
                .aside {
                    float: none;
                    margin: 20px auto;
                    .inner {
                        margin-left: 8px;
                    }
                    .inner2 {
                        margin-right: 13px;
                    }
                }
            }
        }
        //cool
        #cool {
            margin-top: 0;
            .content {
                width: 100%;
                .drid-ul {
                    .grid-wraper {
                        width: 100%;
                        float: none;
                        margin: auto;
                        li{
                            float: none;
                            margin:20px auto;
                        }
                    }
                }
            }
        }
        #love {
            background: none;
            .content {
                width: 100%;
                ul {
                    .love-wraper {
                        float: none;
                        width: 100%;
                    }
                }
            }
        }
        #feature {
            ul {
                div {
                    width: 100%;
                    float: none;
                    li {
                        width: 100%;
                        float: none;
                    }
                }
            }
        }
    }
}